package com.dubito.tmdbmovie.ui.screen.bottom.navigation.popular

import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.hilt.navigation.compose.hiltViewModel
import androidx.navigation.NavController
import com.dubito.tmdbmovie.ui.component.HomeScreen

@Composable
fun PopularScreen(
    navController: NavController,
    modifier: Modifier = Modifier
) {
    val popularViewModel = hiltViewModel<PopularViewModel>()
    HomeScreen(
        navController = navController,
        movies = popularViewModel.popularMovies,
        modifier = modifier
    )
}